<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="title">经费预算表</c:set>
<c:if test="${not empty param.title }"><c:set var="title">${param.title }</c:set></c:if>


<div class="t_bar">
	<span class="color_red">*</span>候选人曾获科技奖励情况（限10条）
</div>
<table  id="tblMainPsn" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<col width="5%" />
			<col width="5%" />
			<col width="15%" />
			<col width="19%" />
			<col width="19%" />
			<col width="19%" />
			<col width="18%" />
			<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >选择</th>
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >获奖时间</th>
					<th class="TblHead" align="center" >获奖项目名称<br/>（限40汉字）</th>
					<th class="TblHead" align="center" >奖项名称<br/>（限20汉字）</th> 
					<th class="TblHead" align="center" >奖励等级及排名<br/>（限20汉字）</th>
					<th class="TblHead" align="center" >授奖单位<br/>（限20汉字）</th> 
				</tr>
			</thead>
			<tbody id="tab">
			<input type="hidden" id="nowDate" value="${sercverSysDate1}" label="当前日期"/>
					<tr style="display:none"  align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selmainpsn" >
						</td>
						<td align="center">
							<span name="mainpsns|mainpsn[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							
							<input  id="mainpsn_date_[0]" name="mainpsns|mainpsn[0]|date" label="获奖时间 " value="" class="required date dateCompare:nowDate" style="width:70px"/>
						</td>
						<td align="center">
						<input type="text" name="mainpsns|mainpsn[0]|prjname" label="获奖项目名称"  maxlength="40" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
						<input type="text" name="mainpsns|mainpsn[0]|awardname" label="奖项名称"  maxlength="20" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
						<input type="text" name="mainpsns|mainpsn[0]|djjpm" label="奖励等级及排名"  maxlength="20" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
						<input type="text" name="mainpsns|mainpsn[0]|dept" label="授奖单位"  maxlength="20" style="width:80%" class="required input_text"/>
						</td>
					</tr>
					 <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/mainpsns/mainpsn" var="mainpsn">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr   align="center">
						<td>
							<input type="radio" class="radiobutton" name="selmainpsn" >
						</td>
						<td align="center">
							<span   name="mainpsns/mainpsn[${flag}${index}]@seq_no" ><x:out select="$mainpsn/@seq_no"/></span> 
						</td>

						<td align="center">
							<c:set var="date" scope="page"><x:out select="$mainpsn/date"/></c:set>
							<input  id="mainpsn_date_[${flag}${index}]" value="${date}" label="获奖时间" name="mainpsns/mainpsn[${flag}${index}]/date" class="required date dateCompare:nowDate"  style="width:70px" /> 
						</td>
						<td align="center">
						   <input type="text" name="mainpsns/mainpsn[${flag}${index}]/prjname"   label="获奖项目名称"   style="width:80%" maxlength="40"  class="required input_text" value="<x:out select="$mainpsn/prjname" />"/>
						</td>
						<td align="center">
						   <input type="text" name="mainpsns/mainpsn[${flag}${index}]/awardname"   label="奖项名称"   style="width:80%" maxlength="20"  class="required input_text" value="<x:out select="$mainpsn/awardname" />"/>
						</td>
						<td align="center">
						   <input type="text" name="mainpsns/mainpsn[${flag}${index}]/djjpm"   label="奖励等级及排名"   style="width:80%" maxlength="20"  class="required input_text" value="<x:out select="$mainpsn/djjpm" />"/>
						</td>
						<td align="center">
						   <input type="text" name="mainpsns/mainpsn[${flag}${index}]/dept"   label="授奖单位"   style="width:80%" maxlength="20"  class="required input_text" value="<x:out select="$mainpsn/dept" />"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMainPsn");
					</script> 
				</tbody>
				
				 </table>
				  
					<table width="98%" align="center">
					<tr><td>
					<input class="button" name="cmdAddbefore2" type=button value="添加" onclick="if(checkTabLimit('tblMainPsn',10,'候选人曾获科技奖励情况最多只能填写10条')){addNewRow('tblMainPsn');showDateTag('tblMainPsn');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev2" type=button value="上移" onclick="movePrev('tblMainPsn','selmainpsn')">
					<input class="button" name="cmdMoveNext2" type=button value="下移" onclick="moveNext('tblMainPsn','selmainpsn')">
					<input class="button" name="cmddel2" type=button  value="删除" onclick="deleteSelectedRow('tblMainPsn','候选人曾获科技奖励情况')">
					</td></tr>
	</table>
	<br/>
	<p>本表所填科技奖励是指：</p>
	<p><span style="visibility: hidden;">占占</span>1．国务院，省政府及有关单位设立的科技奖励和荣誉称号、表彰；</p>
	<p><span style="visibility: hidden;">占占</span>2．其他有重要学术影响的科技奖励。如国际组织或国外政府设立的科技奖励、经备案的社会力量设立的科技奖励等。</p>
	